/**
 * Created by Administrator on 2016/9/2.
 */
$(function(){
    postArray.u_id = u_id
    $.post(commonval+"/headline_collect_list",postArray,function(data){
        if(data.status == 1){
            Vue.filter('wrap', function (value) {
                return value.substr(0, 34);
            })
            var docListMember = new Vue({
                el: '#mainPart',
                data: {
                    items: data.data
                }
            });
            $("#mainPart").css('display','block');
            $('.zixun_list').click(function(){
                var web_url = $(this).children('section').children('.extra').children('p.web_url').text();
                var headline_id = $(this).children('section').children('.extra').children('p.headline_id').text();
                sessionStorage.headline_id =headline_id ;
                location.href = web_url;
            })
        }
    })
})
